<!--
 * 文件描述:
 * @author Lz on 2020/7/1
 -->
<template>
  <div>
    <li>
      {{ htmlUrl}}
    </li>
    <div @click="setName"> 设置name</div>
  </div>


</template>
<script>
  export default {
    name: "todo-item",
    components: {},
    props: ['title', 'htmlUrl'],
    data() {
      return {}
    },
    methods: {
      setName() {
        this.$emit('TestsetName','lizhe')
      }
    }
  }
</script>

<style lang="scss" scoped>

</style>
